<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/11/14
  Time: 1:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改老师信息</title>
    <link rel="stylesheet" href="add_classroom.css">
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<div id="header">编辑教师资料</div>
<div id="content">
    <form action="http://localhost:8080/ClassroomManageSystem_war_exploded/teacherServlet?action=updateTeacher&tid=${requestScope.teacher.tid}" method="post">
        <table>
            <tr>
                <td>教师编号</td>
                <td>${requestScope.teacher.tid}</td>
            </tr>
            <tr>
                <td>教师姓名</td>
                <td><input type="text" name="tname" value="${requestScope.teacher.tname}"></td>
            </tr>
            <tr>
                <td>课程</td>
                <td><input type="text" name="course" value="${requestScope.teacher.course}"></td>
            </tr>
            <tr>
                <td>职称</td>
                <td><input type="text" name="level" value="${requestScope.teacher.level}"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="tpwd" value="${requestScope.teacher.tpwd}"></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" value="提交"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
